Can't locate API module structure `mod_wsgi'

Posted by a coder on Server Fault See other posts from Server Fault or by a coder
Published on 2012-10-08T12:18:05Z Indexed on 2012/10/08 15:40 UTC
Read the original article Hit count: 191

Filed under:
|
|

I'm working on setting up Trac to use wsgi, and am running into trouble getting mod_wsgi working. I downloaded and installed mod_sgi.

[box]# apachectl configtest

httpd: Syntax error on line 214 of /etc/httpd/conf/httpd.conf: Can't locate API module structure `mod_wsgi' in file /etc/httpd/modules/mod_wsgi.so: /etc/httpd/modules/mod_wsgi.so: undefined symbol: mod_wsgi

Line 214 of httpd.conf:

LoadModule mod_wsgi modules/mod_wsgi.so

Here is mod_wsgi.so as found on the filesystem:

[box]# locate mod_wsgi.so
/usr/lib64/httpd/modules/mod_wsgi.so

What might I be overlooking?

© Server Fault or respective owner

Related posts about apache2

Related posts about mod-wsgi